package com.agent.mapper;

import com.agent.pojo.AsUser;
import com.agent.pojo.AsUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AsUserMapper {
    int countByExample(AsUserExample example);

    int deleteByExample(AsUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AsUser record);

    int insertSelective(AsUser record);

    List<AsUser> selectByExample(AsUserExample example);

    AsUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AsUser record, @Param("example") AsUserExample example);

    int updateByExample(@Param("record") AsUser record, @Param("example") AsUserExample example);

    int updateByPrimaryKeySelective(AsUser record);

    int updateByPrimaryKey(AsUser record);
    
    List<AsUser> query(AsUser user);
    
    List<AsUser> getUserCode();
}